// samsting : this file is auto create.

#include "Ess/2014-08-28/ModifyScheduledTaskRequest.h"

namespace aliyun { namespace Ess {

ModifyScheduledTaskRequest::ModifyScheduledTaskRequest() : RpcAcsRequest("Ess", "2014-08-28", "ModifyScheduledTask") {
}

int64 ModifyScheduledTaskRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void ModifyScheduledTaskRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& ModifyScheduledTaskRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void ModifyScheduledTaskRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 ModifyScheduledTaskRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void ModifyScheduledTaskRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& ModifyScheduledTaskRequest::GetScheduledTaskId(void) const {
  return ScheduledTaskId_;
}
void ModifyScheduledTaskRequest::SetScheduledTaskId(const string& ScheduledTaskId) {
  ScheduledTaskId_ = ScheduledTaskId;
  PutQueryParameter("ScheduledTaskId", ScheduledTaskId_);
}

const string& ModifyScheduledTaskRequest::GetScheduledTaskName(void) const {
  return ScheduledTaskName_;
}
void ModifyScheduledTaskRequest::SetScheduledTaskName(const string& ScheduledTaskName) {
  ScheduledTaskName_ = ScheduledTaskName;
  PutQueryParameter("ScheduledTaskName", ScheduledTaskName_);
}

const string& ModifyScheduledTaskRequest::GetDescription(void) const {
  return Description_;
}
void ModifyScheduledTaskRequest::SetDescription(const string& Description) {
  Description_ = Description;
  PutQueryParameter("Description", Description_);
}

const string& ModifyScheduledTaskRequest::GetScheduledAction(void) const {
  return ScheduledAction_;
}
void ModifyScheduledTaskRequest::SetScheduledAction(const string& ScheduledAction) {
  ScheduledAction_ = ScheduledAction;
  PutQueryParameter("ScheduledAction", ScheduledAction_);
}

const string& ModifyScheduledTaskRequest::GetRecurrenceEndTime(void) const {
  return RecurrenceEndTime_;
}
void ModifyScheduledTaskRequest::SetRecurrenceEndTime(const string& RecurrenceEndTime) {
  RecurrenceEndTime_ = RecurrenceEndTime;
  PutQueryParameter("RecurrenceEndTime", RecurrenceEndTime_);
}

const string& ModifyScheduledTaskRequest::GetLaunchTime(void) const {
  return LaunchTime_;
}
void ModifyScheduledTaskRequest::SetLaunchTime(const string& LaunchTime) {
  LaunchTime_ = LaunchTime;
  PutQueryParameter("LaunchTime", LaunchTime_);
}

const string& ModifyScheduledTaskRequest::GetRecurrenceType(void) const {
  return RecurrenceType_;
}
void ModifyScheduledTaskRequest::SetRecurrenceType(const string& RecurrenceType) {
  RecurrenceType_ = RecurrenceType;
  PutQueryParameter("RecurrenceType", RecurrenceType_);
}

const string& ModifyScheduledTaskRequest::GetRecurrenceValue(void) const {
  return RecurrenceValue_;
}
void ModifyScheduledTaskRequest::SetRecurrenceValue(const string& RecurrenceValue) {
  RecurrenceValue_ = RecurrenceValue;
  PutQueryParameter("RecurrenceValue", RecurrenceValue_);
}

bool ModifyScheduledTaskRequest::GetTaskEnabled(void) const {
  return TaskEnabled_;
}
void ModifyScheduledTaskRequest::SetTaskEnabled(bool TaskEnabled) {
  TaskEnabled_ = TaskEnabled;
  PutQueryParameter("TaskEnabled", string_ValueOfBool(TaskEnabled_));
}

int ModifyScheduledTaskRequest::GetLaunchExpirationTime(void) const {
  return LaunchExpirationTime_;
}
bool ModifyScheduledTaskRequest::SetLaunchExpirationTime(int LaunchExpirationTime) {
  if(LaunchExpirationTime < 0) {
    return false;
  }
  if(LaunchExpirationTime > 86400) {
    return false;
  }
  LaunchExpirationTime_ = LaunchExpirationTime;
  PutQueryParameter("LaunchExpirationTime", string_ValueOfInt(LaunchExpirationTime_));
  return true;
}

const string& ModifyScheduledTaskRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void ModifyScheduledTaskRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ess {

// end of file 
